//
//  AlbumModel.m
//  HimalayaMusic
//
//  Created by dllo on 16/1/8.
//  Copyright © 2016年 WXCLegendary. All rights reserved.
//

#import "AlbumModel.h"

@implementation AlbumModel

- (void)setValue:(id)value forUndefinedKey:(NSString *)key {
//    if ([key isEqualToString:@"tracks"]) {
//        NSMutableArray *mutableArray = [NSMutableArray array];
//        NSArray *array = value[@"list"];
//        for (NSDictionary *dic in array) {
//            AlbumListModel *listModel = [[AlbumListModel alloc] initWithDictionary:dic];
//            [mutableArray addObject:listModel];
//        }
//        self.AlbumListArray = [NSMutableArray arrayWithArray:mutableArray];
//    }
}


- (instancetype)initWithDictionary:(NSDictionary *)data
{
    self = [super init];
    if (self) {
        [self setValuesForKeysWithDictionary:data];
    }
    return self;
}





@end
